<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        caption{
            font-weight: 700;
        }
        tr{
            text-align: center;
        }
        td{
            width: 200px;
            height: 100px;
        }
    </style>
</head>
<body>
    <script>
        let proice=+prompt('商品价格:')
        let num=+prompt('商品数量:')
        let address=prompt('收货地址:')
        let total=proice*num
    </script>
    <table border="1" cellspacing="0.1"align="center">
    <caption>订单确认</caption>
    <tr>
        <th>商品名称</th>
        <th>商品价格</th>
        <th>商品数量</th>
        <th>总价</th>
        <th>收货地址</th>
    </tr>
    <tr>
        <td>小米手机青春PLUS</td>
        <td><script> document.write(proice+'元')</script></td>
        <td><script> document.write(num)</script></td>
        <td><script> document.write(total+'元')</script></td>
        <td><script> document.write(address)</script></td>
    </tr>
   </table>
    
</body>
</html>